#if !defined(AFX_SKINBASEVIEW_H__68F56773_07EC_4A59_A2F0_05145E6DC816__INCLUDED_)
#define AFX_SKINBASEVIEW_H__68F56773_07EC_4A59_A2F0_05145E6DC816__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SkinBaseView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSkinBaseView view
#include "SkinDef.h"

#include "MFCSkinManager.h"

class SKIN_API CSkinBaseView : public CView
{
public:
	CSkinBaseView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CSkinBaseView)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSkinBaseView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CSkinBaseView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	CMfcSkinManager m_SkinManager;

	virtual BOOL LoadSkin() { return FALSE; }
	virtual BOOL PreWM_PAINT(CDC &dc) { return TRUE; } 
	virtual void PostWM_PAINT(CDC &dc) {} 	

	// Generated message map functions
protected:
	//{{AFX_MSG(CSkinBaseView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnMove(int x, int y);
	afx_msg void OnPaint();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SKINBASEVIEW_H__68F56773_07EC_4A59_A2F0_05145E6DC816__INCLUDED_)
